package net.jueb.majong.voice.base;

/**
 * 转换成功与否判断targetFilePath的文件是否存在
 * @author Administrator
 */
public class ConvertResult {

	/**
	 * 来源长度字节
	 */
	private long sourceLength;
	/**
	 * 来源md5
	 */
	private String sourceMd5;
	/**
	 * 来源文件路径
	 */
	private String sourceFilePath;
	/**
	 * 目标文件路径
	 */
	private String targetFilePath;
	/**
	 *转换消耗时间
	 */
	private long times;
	/**
	 * 转换日志
	 */
	private String log;
	
	public long getSourceLength() {
		return sourceLength;
	}
	public void setSourceLength(long sourceLength) {
		this.sourceLength = sourceLength;
	}
	public String getSourceMd5() {
		return sourceMd5;
	}
	public void setSourceMd5(String sourceMd5) {
		this.sourceMd5 = sourceMd5;
	}
	public String getSourceFilePath() {
		return sourceFilePath;
	}
	public void setSourceFilePath(String sourceFilePath) {
		this.sourceFilePath = sourceFilePath;
	}
	public String getTargetFilePath() {
		return targetFilePath;
	}
	public void setTargetFilePath(String targetFilePath) {
		this.targetFilePath = targetFilePath;
	}
	public long getTimes() {
		return times;
	}
	public void setTimes(long times) {
		this.times = times;
	}
	public String getLog() {
		return log;
	}
	public void setLog(String log) {
		this.log = log;
	}
	@Override
	public String toString() {
		return "ConvertInfo [sourceLength=" + sourceLength + ", sourceMd5=" + sourceMd5 + ", sourceFilePath="
				+ sourceFilePath + ", targetFilePath=" + targetFilePath + ", times=" + times + ", log=" + log + "]";
	}
}
